package com.jet.goods.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jet.goods.domain.entity.GoodsSku;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jet.goods.domain.query.SkuPageQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-03-04
 */
public interface GoodsSkuMapper extends BaseMapper<GoodsSku> {

    List<GoodsSku> selectListByQuery(Page<GoodsSku> page, @Param("merchantNo") long merchantNo, @Param("query") SkuPageQuery query);
}
